package com.sptpc.demo.service;

import com.sptpc.demo.model.Drink;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface IDrinkService {
    Page<Drink> getAllDrinks(PageRequest pageRequest);

    void addNewDrink(Drink drink, Integer categoryID);


    Drink getDrinkById(Integer id);

    void updateDrink(Drink drink);

    void deleteDrinkById(Integer id);
}
